let smsTemplate = module.exports = {};
let config = require('config');

/**
 * pass sign up
 */
smsTemplate.passSignUp = function (activity) {
    if (!activity) {
        return null;
    }

    let signInUrl = config.domain.official + '/activity/' + activity._id + '/signIn/inputCellphone';

    let content = `您已成功报名 【${activity.name}】, 活动电子票为 ${signInUrl} ，请根据参会人手机号查询电子票，注意保存电子票短信，感谢您的使用！`;

    return content;
};